AmeliaBooking\Application\Services\Reservation\AppointmentReservationService D

Total Complexity 150
Dependencies 30
Dependents 0
Total lines 1,087
Lines of code 688
Logical lines of code 268
Comment lines 211
Methods 15
Properties 0

Methods 15

Method Rating Maintainability Complexity Lines of code
bookSingle()
D
23
43 176
getWooCommerceData()
B
33 19 90
updateStatus()
B
36 17 80
book()
B
40 15 61
checkLimitsPerCustomer()
A
48 15 29
getReservationByPayment()
A
35 10 95
getBookingResultByBookingId()
A
40 7 61
updateWooCommerceOrder()
A
50 8 29
getReservationPaymentAmount()
S
51 5 29
getBookingPeriods()
S
54 5 20
isExtraAggregatedPrice()
S
75 2 4
getType()
S
82 1 3
getBookableEntity()
S
74 1 4
isAggregatedPrice()
S
81 1 3
getReservationByBookingId()
S
75 1 4